<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<meta name="format-detection" content="telephone=no,address=no,email=no"/>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>KAA电商管理后台_会员修改</title>
	<script type="text/javascript" src="${path}/js/jquery-2.1.1.min.js"></script>
	<script src="${path}/js/sidebar-menu.js"></script>
	<link href="${path}/css/login.css" rel="stylesheet" media="all">
</head>
<body class="main">
	<h1>KAA电商管理后台</h1>
	<jsp:include page="sidebarNav.jsp"></jsp:include><!-- main_sidebar -->

	<div class="main_con_wrap">
		<div class="main_con member_edit">
			<form name="messages" method="post" class="messages" id="messages"  action="${path}/updateUserMember ">
				<input type="text" name="id" id="id" value="${userMember.id}" maxlength="16"style="display: none" required="required" />
				<p>
					<span class="title fl">用户名：</span>
					<input type="text" name="userName" id="userName" value="${userMember.userName}" maxlength="16" required="required" />
					<span class="clear"></span>
				</p>
				
				<p>
					<span class="title fl">会员组：</span>
					<select id="memberselect_edit" name="level">
					  <option value="普通会员" ${userMember.level == '普通会员'? 'selected':""}>普通会员</option>
					  <option value="铜牌会员" ${userMember.level == '铜牌会员'? 'selected':""}>铜牌会员</option>
					  <option value="银牌会员" ${userMember.level == '银牌会员'? 'selected':""}>银牌会员</option>
					  <option value="金牌会员" ${userMember.level == '金牌会员'? 'selected':""}>金牌会员</option>
					  <option value="钻石会员" ${userMember.level == '钻石会员'? 'selected':""}>钻石会员</option>
					  <option value="皇冠会员" ${userMember.level == '皇冠会员'? 'selected':""}>皇冠会员</option>
					</select>
					<span class="clear"></span>
				</p>
				
				<p>
					<span class="title fl">姓名：</span>
					<input type="text" name="name" id="name" value="${userMember.name}" maxlength="16" required="required" />
					<span class="clear"></span>
				</p>
				
				<p class="thesex">
					<span class="title fl">性别：</span>
					<select id="" name="gender">
						<option value="男" ${userMember.gender == '男'? 'selected':""}>男</option>
						<option value="女" ${userMember.gender == '女'? 'selected':""}>女</option>
					</select>
				</p>
				
				<p>
					<span class="title fl">手机号码：</span>
					<input type="tel" name="phone" id="phone" value="${userMember.phone}" maxlength="11" required="required" />
					<span class="clear"></span>
				</p>
				
				<p>
					<span class="title fl">邮箱：</span>
					<input name="email" id="email" value="${userMember.email}"  autocomplete="off" type="text" required="required" />
					<span class="clear"></span>
				</p>
				<button name="button" class="memberedit_btn btn" type="submit" id="memberedit_btn">保存</button>
			</form>
		</div><!-- main_con -->
	</div><!-- main_con_wrap -->

	<div class="footer_copyright">
		<p>苏州知行合一网络科技有限公司提供技术支持，版权所有</p>
	</div><!-- footer_copyright -->

<script>
	/////////////////////////侧边栏按钮
	$.sidebarMenu($('.sidebar-menu'))
</script>
</body>
</html>